"""
 输入一个字符串，把字符串拆分成两个等分
 ■ 如果字符串长度是偶数，前一半和后一 半的长度是相同的
 ■ 如果字符串长度是奇数，则多出的一个 字符加到前一半，如：'abcde'，前一半 是'abc'，后一半是'de'
"""
s = input()
sLength = len(s)
halLen = (int)(sLength/2)
if (sLength % 2 == 0):
    print(sLength/2)
    s1 = s[0:halLen]
    s2 = s[halLen: sLength]
else:
    print(sLength / 2)
    print(halLen)
    s1 = s[0:halLen+1]
    s2 = s[halLen+1: sLength]
print(s1)
print(s2)

#测试正确，
#注意：sLength/2 得到的是float类型，需要强制转换成int
#答案
"""
   "source": [
    "s=input('input a tring:')\n",
    "if int(len(s))%2==0:\n",
    "    print(s[0:int(len(s)/2)],s[int(len(s)/2):])\n",
    "else:\n",
    "    print(s[0:int((len(s)+1)/2)],s[int((len(s)+1)/2):])"
   ]
"""